package com.scuec.trainingmanagementsys.service;

import com.scuec.trainingmanagementsys.entity.Grade;
import java.util.List;

public interface GradeService {
    int saveGrade(Grade grade);
    Grade getGradeByProjectAndTeam(Integer projectId, Integer teamId);  // 新增方法
    List<Grade> getGradesByProjectId(Integer projectId);
    int updateGrade(Grade grade);
    Grade getGradeByProjectAndStudent(Integer projectId, Integer studentId);
}